﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Gozib.Web.Models.Bus
{
    public class BusSeatMapModel
    {
        public string RouteScheduleId { get; set; }
        public string JourneyDate { get; set; }
        public string CompanyId { get; set; }
        public string CompanyName { get; set; }
        public string FromCityId { get; set; }
        public string FromCityName {get;set;}
        public string ToCityId { get; set; }
        public string ToCityName { get; set; }
        public string DepartureDate { get; set; }
        public string DeparterTime { get; set; }
        public string ArrivalDate { get; set; }
        public string ArrivalTime { get; set; }
        public IList<SeatLayout> LowerDeck { get; set; }
        public IList<SeatLayout> UpperDeck { get; set; }
        public IList<string> CancellationPolicy { get; set; }
        public IList<BordingPoint> BordingPoints { get; set; }
        public short SeatMaxLowerColumn { get; set; }
        public short SeatMaxLowerRows { get; set; }
        public short SeatMaxUpperColumn { get; set; }
        public short SeatMaxUpperRows { get; set; }
        
    }

    public class SeatLayout
    {        
        public string SeatNo { get; set; }
        public string Gender { get; set; }
        public bool IsSleeper { get; set; }
        public bool IsAvailable { get; set; }
        public decimal Fare { get; set; }
        public short Row { get; set; }
        public short Column { get; set; }
    }

    public class BordingPoint
    {
        public int BordingPointId { get; set; }
        public string BordingPointName { get; set; }
    }
}